/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pb138.avradiation.web;

import java.util.Collection;

/**
 *
 * @author huzvak
 */
public interface LocationManager {
    
    /** 
     * Find/get location by id
     * @param Long id  
     * @throws IllegalArgumentException
     * @throws IllegalStateException
     * @throws RuntimeException
     * @return Location     
     */
    public Location findLocationById(Long id);

    /** 
     * Get all locations from DB     
     * @throws IllegalStateException
     * @throws RuntimeException
     * @return Collection<Location>
     */
    public Collection<Location> getAllLocations();
}
